import axios from '@/utils/require'

export function getPageList(params) {
  return axios({
    url: '/pages',
    params
  })
}

export function getPageById(id) {
  return axios({
    url: '/pages/' + id
  })
}
